<?php

namespace App\Models\Order;

use App\Models\Subscribe\Price;
use App\Models\User\User;
use Illuminate\Database\Eloquent\Model;

class Subscribe extends Model
{
    protected $table = 'jxt_order_subscribe';

    const CREATED_AT = null;
    const UPDATED_AT = null;

    public function user()
    {
        return $this->belongsTo(User::class);
    }

    public function order()
    {
        return $this->belongsTo(Info::class);
    }

    public function subscribe()
    {
        return $this->belongsTo(Price::class);
    }

}
